package com.zy.mall.dao;

import com.zy.mall.model.Admin;
import com.zy.mall.model.bo.AdminChangeBo;

import java.util.List;

public interface AdminDao {
    Admin login(Admin admin);

    List<Admin> allAdmins();

    List<Admin> getSearchAdmins(Admin admin);

    void addAdmin(Admin admin);

    boolean deleteAdmins(String id);

    boolean updateAdmins(Admin admin);


    Admin getAdminsInfo(String id);

    int changePwd(AdminChangeBo changeBo);
}
